package cn.wolfcode.service;

import cn.wolfcode.domian.Result;
import cn.wolfcode.domian.dept;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface deptService {


    List<dept> list();

    void delete(Long id);

    void add(dept dept);

    dept getById(Long id);

    void update(dept dept);
}
